// 导入
import request from '@/utils/request.js'
import qs from 'qs'
// 获取视频信息
function GetIntel(data) {
	return request.get(
		'/v1/Video/SearchVideoByLink?r=0.1661109034133359&url=https:%2F%2Fwww.bilibili.com%2Fvideo%2FBV1yt4y1b7ny',
		data)
}

// 获取话题信息 活动列表
function GetTopic(data) {
	return request.get('/v1/Topic/SearchOption?', data)
}

// 获取话题信息 活动时间分类
function GetTopicList(data) {
	return request.get('/v1/Topic/Topics?' + qs.stringify(data))
}

// 获取收藏页面 数据
function GetBloggerList(data) {
	return request.get('/v1/Collection/BloggerList?' + qs.stringify(data))
}

// 添加分组
function AddGroup(data) {
	return request.post('/v1/Collection/AddGroup?' + qs.stringify(data))
}

// Topicdetail 跳转元素分类信息
function Getdetail1(id) {
	return request.get(`V1/Topic/Topic?id=${id}`)
}

// Topicdetail (分类详情)信息
function Getdetail2(data) {
	return request.get('/V1/Blogger/VideoOptionStat?' + qs.stringify(data))
}

// Topicdetail 分类信息列表
function Getdetail3(data) {
	return request.get('/V1/Blogger/VideoList?' + qs.stringify(data))
}


export {
	GetIntel,
	GetTopic,
	GetTopicList,
	GetBloggerList,
	AddGroup,
	Getdetail1,
	Getdetail2,
	Getdetail3
	
}
